<!--日期选择 开始-->
<script src="{:config('template.skin')}/bootstrap-datepicker/js/bootstrap-datepicker.min.js" type="text/javascript"></script>
{if input('lang') eq 'cn'}
    <script type="text/javascript" src="{:config('template.skin')}/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js" charset="UTF-8"></script>
{/if}
<script type="text/javascript">
    $(".form_date").datepicker({
        format: "yyyy-mm-dd",
        autoclose: true,
        {if input('lang') eq 'cn'}
        language: 'zh-CN',
        {/if}
    });
</script>
<!--日期选择 结束-->